//
//  CLMovieViewModel.h
//  Charles
//
//  Created by Leo on 2017/6/8.
//  Copyright © 2017年 charles. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CLMovieModel.h"

typedef void (^ReturnValueBlock) (id returnValue);
typedef void (^ErrorCodeBlock) (id errorCode);

@interface CLMovieViewModel : NSObject

@property (nonatomic,copy) ReturnValueBlock returnBlock;
@property (nonatomic,copy) ErrorCodeBlock errorBlock;


//获取电影数据
- (void)getMovieData;
//跳转到电影详情页
- (void)movieDetailWithPublicModel: (CLMovieModel *)movieModel WithViewController: (UIViewController *)superController;
@end
